<?php
if (!empty($model->title))
    ContentBaseController::$pageTitle = $model->title;
if (!empty($model->keywords))
    Yii::app()->clientScript->registerMetaTag($model->keywords, 'keywords');
if (!empty($model->description))
    Yii::app()->clientScript->registerMetaTag($model->description, 'description');